package com.ssy.lingxi.after.sale.api.model.vo.request;

import com.ssy.lingxi.common.model.dto.UserLoginCacheDTO;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 审核数据VO
 * @author 伍将
 * @date 2020/12/26
 * @version 2.0.0
 */
public class VerifyDataVO implements Serializable {

    private static final long serialVersionUID = 9087322865170804900L;
    /**
     * 数据id
     */
    @NotNull(message = "数据id要大于0")
    @Positive(message = "数据id要大于0")
    private Long dataId;

    /**
     * 当操作录用户
     */
    @NotNull(message = "当前操作用户不能为空")
    private UserLoginCacheDTO user;

    public UserLoginCacheDTO getUser() {
        return user;
    }

    public void setUser(UserLoginCacheDTO user) {
        this.user = user;
    }

    public Long getDataId() {
        return dataId;
    }

    public void setDataId(Long dataId) {
        this.dataId = dataId;
    }
}
